package com.gxa.finance.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;
//收款计划实体类

public class Bill implements Serializable {
  @TableId(type = IdType.AUTO)
  private Integer id;//主键
  private String billId;//收款号
  private String orderId;//订单编号
  private BigDecimal money;//订单金额
  private BigDecimal yMoney;//已付金额
  private BigDecimal wMoney;//未付金额
  private String payment;//付款方式(线上支付 线下支付)
  @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
  private Timestamp createTime;//创建时间
  @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
  private Timestamp paymentTime;//支付时间
  private Integer bStatus;//支付状态(1待支付 2已支付 3 已取消 4未通过)
  private String pType;//订单类型
  private String account;//用户账户
  private String bType;//账单类型(收款 付款)
  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  public String getBillId() {
    return billId;
  }

  public void setBillId(String billId) {
    this.billId = billId;
  }

  public String getOrderId() {
    return orderId;
  }

  public void setOrderId(String orderId) {
    this.orderId = orderId;
  }

  public BigDecimal getMoney() {
    return money;
  }

  public void setMoney(BigDecimal money) {
    this.money = money;
  }

  public BigDecimal getyMoney() {
    return yMoney;
  }

  public void setyMoney(BigDecimal yMoney) {
    this.yMoney = yMoney;
  }

  public BigDecimal getwMoney() {
    return wMoney;
  }

  public void setwMoney(BigDecimal wMoney) {
    this.wMoney = wMoney;
  }

  public String getPayment() {
    return payment;
  }

  public void setPayment(String payment) {
    this.payment = payment;
  }

  public Timestamp getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Timestamp createTime) {
    this.createTime = createTime;
  }

  public Timestamp getPaymentTime() {
    return paymentTime;
  }

  public void setPaymentTime(Timestamp paymentTime) {
    this.paymentTime = paymentTime;
  }

  public Integer getbStatus() {
    return bStatus;
  }

  public void setbStatus(Integer bStatus) {
    this.bStatus = bStatus;
  }

  public String getpType() {
    return pType;
  }

  public void setpType(String pType) {
    this.pType = pType;
  }

  public String getAccount() {
    return account;
  }

  public void setAccount(String account) {
    this.account = account;
  }

  public String getbType() {
    return bType;
  }

  public void setbType(String bType) {
    this.bType = bType;
  }
}
